package com.jt.www.dao.mapper.registerCustomer;

import com.jt.www.dao.BaseMapper;
import com.jt.www.domain.vo.RegisterCustomerVo;
import com.jt.www.model.registerCustomer.RegisterCustomer;
import com.jt.www.model.registerCustomer.vo.CustomerListParam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RegisterCustomerMapper extends BaseMapper<RegisterCustomer> {

    /**
     * 推广人关系列表总条数
     *
     * @param customerListParam
     * @return
     */
    Long queryCustomersCount(CustomerListParam customerListParam);

    /**
     * 推广人关系列表
     *
     * @param customerListParam
     * @return
     */
    List<RegisterCustomerVo> queryCustomers(CustomerListParam customerListParam);
}
